Search results
15 packages found
TypeScript-safe switch expression syntax
Switch/match expression in method chaining style
Custom delimiters, for Handlebars templates. Includes greedy patch.
- change
- compile
- delimiter
- delimiters
- delims
- expression
- handlebars
- hbs
- re
- regex
- regexp
- regular
- render
- switch
- View more
when expression like kotlin's
Custom delimiters, for Handlebars templates.
- change
- compile
- delimiter
- delimiters
- delims
- expression
- handlebars
- hbs
- re
- regex
- regexp
- regular
- render
- switch
- View more
Declarative and functional switch supporting literals, functional tests, regular expressions, object patterns and routes
Custom delimiters, for Handlebars templates.
- change
- compile
- delimiter
- delimiters
- delims
- expression
- handlebars
- hbs
- re
- regex
- regexp
- regular
- render
- switch
- View more
Rules for making switch/case expressions for union type values exhaustively checkable at compile time.
Switch statements to be used as expressions, for vegetarians, or otherwise
Use switch statements with a custom comparison expression. Goodbye `switch(true)`!
Javascript Pattern matching library developed in typescript
- pattern matching
- pattern
- matching
- match
- switch
- enhanced switch
- typed
- match expression
- switch expression
- functional
- fp
Match.js is a Javascript library like the 'switch' statement but it works as expression
A simple function, bringing the power of switch statements to expressions.
Match expression with added suggar.
```js // モジュールの読み込み(以下省略します) const Switch = require("node-switch-expression");